local prefix = "packages.xanadu_dream.pkg."
Fk:loadTranslationTable{
  ["xanadu_dream"] = "桃园一梦",
}

local XD = require (prefix.."XD")
--local gamemodes = require (prefix.."gamemodes")
--local XDcards = require (prefix.."XDcards")
--gamemodes:addGameMode(require "packages/water_wegame/pkg/gamemodes/cheat_mode")

local pkgs = {XD}

-- 为本扩展包所有武将填写默认设计者
for _, pack in ipairs(pkgs) do
  for _, g in ipairs(pack.generals) do
    if not Fk.translations["zh_CN"]["#"..g.name] then
      Fk.translations["zh_CN"]["#"..g.name] = ""
    end
    if not Fk.translations["zh_CN"]["designer:"..g.name] then
      Fk.translations["zh_CN"]["designer:"..g.name] = "轮回中听琴"
    end
    if not Fk.translations["zh_CN"]["cv:"..g.name] then
      Fk.translations["zh_CN"]["cv:"..g.name] = ""
    end
    if not Fk.translations["zh_CN"]["illustrator:"..g.name] then
      Fk.translations["zh_CN"]["illustrator:"..g.name] = "三国志大战"
    end
    if #g.all_skills == 0 then
      g.hidden = true
    end
  end
end

Fk:loadTranslationTable{
  ["ziwei"] = "魏",
  ["zishu"] = "蜀",
  ["hongwu"] = "吴",
  ["lanqun"] = "群",
}

return pkgs